/**
 * 
 */


function check_password(string){
	var s = null;
	if(string.length >=5) {
		 if(/[a-zA-Z]+/.test(string) && /[0-9]+/.test(string) && /\W+\D+/.test(string)) {
			 s = 1;
		 }else if(/[a-zA-Z]+/.test(string) || /[0-9]+/.test(string) || /\W+\D+/.test(string)) {
			 if(/[a-zA-Z]+/.test(string) && /[0-9]+/.test(string)) {
				 s = -1;
			 }else if(/\[a-zA-Z]+/.test(string) && /\W+\D+/.test(string)) {
				 s = -1;
			 }else if(/[0-9]+/.test(string) && /\W+\D+/.test(string)) {
				 s = -1;
			 }else{
				 s = 0;
			 }
		 }
	}
	return s;
}
